-- GENERATED SPELL FOR [Stonebreaker Peon] --


function spell0_19048(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(19643,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19048', 5253, 1)
end

function Sorts_19048(pUnit, Event)
local choix_sorts_19048 = math.random(0, 0)
if choix_sorts_19048 == 0 then
pUnit:RegisterEvent('spell0_19048', 1, 1)
end
end

function mob19048_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19048', math.random(1500, 3000), 1)
end

function mob19048_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19048_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19048_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19048, 1, 'mob19048_Action')
RegisterUnitEvent(19048, 2, 'mob19048_Leave')
RegisterUnitEvent(19048, 3, 'mob19048_Kill')
RegisterUnitEvent(19048, 4, 'mob19048_Die')
